#ifndef DATA_H
#define DATA_H
#define DATA_MAX_LENGTH 50

typedef struct{
int length;
char s[DATA_MAX_LENGTH];
} Data;

Data data_fromString(char *s);
void data_toString(Data d, char *s);
int data_length(Data d);
void print_data(Data d);

#endif
